package com.hkts.naturalgas.base.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2021-06-01
 */
public class HktsLastTime extends Model<HktsLastTime> {

    private static final long serialVersionUID = 1L;

    private String id;
    private LocalDateTime lastRowTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getLastRowTime() {
        return lastRowTime;
    }

    public void setLastRowTime(LocalDateTime lastRowTime) {
        this.lastRowTime = lastRowTime;
    }

    public static final String ID = "id";

    public static final String LAST_ROW_TIME = "last_row_time";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HktsLastTime{" +
                ", id=" + id +
                ", lastRowTime=" + lastRowTime +
                "}";
    }
}
